/**
 *
 */
package de.cbf.cam.dsa.item.ui.view;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.part.ViewPart;

import de.cbf.cam.dsa.item.interfaces.ICompositeEditItem;

/**
 * @author Alti
 *
 */
public class ViewItemEditor extends ViewPart  {
	private static final Log logger = LogFactory.getLog(ViewItemEditor.class);

	public static final String ID = "de.cbf.cam.dsa.item.ui.view.editor_view";

	protected Composite compositeEditItems;
	protected ICompositeEditItem compositeEditItem;

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	@Override
	public void createPartControl(Composite parent) {
		logger.info("creating PartControl for ItemEditorView");

	}

	/* (non-Javadoc)
	 * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
	 */
	@Override
	public void setFocus() {
		logger.info("setting focus to ItemEditorView");

	}

	public Composite getCompositeEditItems(){
		return compositeEditItems;
	}

	public ICompositeEditItem getCompositeEditItem(){
		return compositeEditItem;
	}


}
